package com.reger.l2cache.pipeline.ops;

import org.springframework.lang.Nullable;

public interface RedisHyperLogLogPipeline<K, V> extends RedisKeyPipeline<K> {

	@Nullable
	Long pfAdd(K key, @SuppressWarnings("unchecked") V... values);

	@Nullable
	Long pfCount(@SuppressWarnings("unchecked") K... keys);

	void pfMerge(K destKey, @SuppressWarnings("unchecked") K... sourceKeys);

	default RedisHyperLogLogPipeline<K, V> toKllPl() {
		return this;
	}
}
